var express = require('express');
var router = express.Router();


/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});
router.get('/regist', function(req, res, next) {
  res.render('regist', {})
})
// 渲染登录页
router.get('/login', function(req, res, next) {
  res.render('login', {})
})

module.exports = router;
